export default {
	state: {
		movies: {
			page: 1,
			type: 'hlw',
			movie: [],
			curmovie:[],
			username:'',
			blogCategory:'vue'
		}
	},
	mutations: {
		pageUpdate(state,data){
			state.movies.page = data;
		},
		typeUpdate(state,data){
			state.movies.type = data;
		},
		movieUpdate(state,data){
			state.movies.movie = data;
		},
		curmovieUpdate(state,data){
			state.movies.curmovie = data;
		},
		usernameUpdate(state,data)
		{
			state.username = data;
		},
		blogCategoryUpdate(state,data)
		{
			state.blogCategory = data;
		},
		
		
		
		
		
		
	},
	getters:{
		getPage(state){
			return state.movies.page;
		},
		getType(state){
			return state.movies.type;
		},
		getMovie(state)
		{
			return state.movies.movie;
		},
		getCurmovie(state){
			return state.movies.curmovie;
		},
		getUserName(state){
			return state.username;
		},
		getBlogCategory(state){
			return state.blogCategory;
		}
		
		
		
		
	},
	actions: {
		
	}
}
